home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / Development Tools / XCMDs and XFCNs / Socket and Serial / HyperHTTP 1.9 / background_4920.xml < prev    next >
Encoding:
Extensible Markup Language  |  1999-01-14  |  18.3 KB  |  507 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>4920</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_6737.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3099.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>3</left>
  23.             <top>53</top>
  24.             <right>510</right>
  25.             <bottom>253</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>9</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>12</textHeight>
  40.         <name>TXT</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <true /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>105</left>
  55.             <top>3</top>
  56.             <right>312</right>
  57.             <bottom>21</bottom>
  58.         </rect>
  59.         <style>rectangle</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>DownloadFolder</name>
  73.         <script>on mouseDown
  74. answer folder "Select the folder to download HTML file from remote host"
  75. put it into tmp
  76. if tmp  is empty then exit mouseDown
  77. put tmp into fld "DownloadFolder"
  78. end mouseDown
  79. </script>
  80.     </part>
  81.     <part>
  82.         <id>3</id>
  83.         <type>field</type>
  84.         <visible> <true /> </visible>
  85.         <dontWrap> <false /> </dontWrap>
  86.         <dontSearch> <false /> </dontSearch>
  87.         <sharedText> <false /> </sharedText>
  88.         <fixedLineHeight> <false /> </fixedLineHeight>
  89.         <autoTab> <false /> </autoTab>
  90.         <lockText> <false /> </lockText>
  91.         <rect>
  92.             <left>336</left>
  93.             <top>2</top>
  94.             <right>510</right>
  95.             <bottom>20</bottom>
  96.         </rect>
  97.         <style>rectangle</style>
  98.         <autoSelect> <false /> </autoSelect>
  99.         <showLines> <false /> </showLines>
  100.         <wideMargins> <false /> </wideMargins>
  101.         <multipleLines> <false /> </multipleLines>
  102.         <reservedFamily> 0 </reservedFamily>
  103.         <titleWidth>0</titleWidth>
  104.         <icon>0</icon>
  105.         <textAlign>left</textAlign>
  106.         <font>Chicago</font>
  107.         <textSize>12</textSize>
  108.         <textStyle>plain</textStyle>
  109.         <textHeight>16</textHeight>
  110.         <name>UserID</name>
  111.         <script></script>
  112.     </part>
  113.     <part>
  114.         <id>4</id>
  115.         <type>field</type>
  116.         <visible> <true /> </visible>
  117.         <dontWrap> <false /> </dontWrap>
  118.         <dontSearch> <false /> </dontSearch>
  119.         <sharedText> <false /> </sharedText>
  120.         <fixedLineHeight> <false /> </fixedLineHeight>
  121.         <autoTab> <false /> </autoTab>
  122.         <lockText> <false /> </lockText>
  123.         <rect>
  124.             <left>3</left>
  125.             <top>32</top>
  126.             <right>510</right>
  127.             <bottom>51</bottom>
  128.         </rect>
  129.         <style>rectangle</style>
  130.         <autoSelect> <false /> </autoSelect>
  131.         <showLines> <false /> </showLines>
  132.         <wideMargins> <false /> </wideMargins>
  133.         <multipleLines> <false /> </multipleLines>
  134.         <reservedFamily> 0 </reservedFamily>
  135.         <titleWidth>0</titleWidth>
  136.         <icon>0</icon>
  137.         <textAlign>left</textAlign>
  138.         <font>Chicago</font>
  139.         <textSize>12</textSize>
  140.         <textStyle>plain</textStyle>
  141.         <textHeight>16</textHeight>
  142.         <name>HTTP</name>
  143.         <script></script>
  144.     </part>
  145.     <part>
  146.         <id>5</id>
  147.         <type>field</type>
  148.         <visible> <true /> </visible>
  149.         <dontWrap> <true /> </dontWrap>
  150.         <dontSearch> <false /> </dontSearch>
  151.         <sharedText> <false /> </sharedText>
  152.         <fixedLineHeight> <false /> </fixedLineHeight>
  153.         <autoTab> <false /> </autoTab>
  154.         <lockText> <true /> </lockText>
  155.         <rect>
  156.             <left>2</left>
  157.             <top>255</top>
  158.             <right>380</right>
  159.             <bottom>313</bottom>
  160.         </rect>
  161.         <style>scrolling</style>
  162.         <autoSelect> <false /> </autoSelect>
  163.         <showLines> <false /> </showLines>
  164.         <wideMargins> <false /> </wideMargins>
  165.         <multipleLines> <false /> </multipleLines>
  166.         <reservedFamily> 0 </reservedFamily>
  167.         <titleWidth>0</titleWidth>
  168.         <icon>0</icon>
  169.         <textAlign>left</textAlign>
  170.         <font>Geneva</font>
  171.         <textSize>9</textSize>
  172.         <textStyle>plain</textStyle>
  173.         <textHeight>12</textHeight>
  174.         <name>URLs</name>
  175.         <script>on mouseDoubleClick
  176. set cursor to watch
  177. select the clickLine
  178. put the value of the clickLine into tmpHTTP
  179. put fld "DownloadFolder" into tmpPath
  180. if there is a cd tmpHTTP then
  181. go to cd tmpHTTP
  182. else
  183. set lockscreen to true
  184. go to first cd of this bkgnd
  185. domenu "New card"
  186. set lockscreen to false
  187. put tmpHTTP into fld "HTTP" of this cd
  188. set name of this cd to tmpHTTP
  189. send mouseUp to bkgnd button "GetURL"
  190. end if
  191. end mouseDoubleClick</script>
  192.     </part>
  193.     <part>
  194.         <id>7</id>
  195.         <type>button</type>
  196.         <visible> <true /> </visible>
  197.         <reserved5> 0 </reserved5>
  198.         <reserved4> 0 </reserved4>
  199.         <reserved3> 0 </reserved3>
  200.         <reserved2> 0 </reserved2>
  201.         <reserved1> 0 </reserved1>
  202.         <enabled> <true /> </enabled>
  203.         <rect>
  204.             <left>315</left>
  205.             <top>2</top>
  206.             <right>333</right>
  207.             <bottom>20</bottom>
  208.         </rect>
  209.         <style>checkbox</style>
  210.         <showName> <false /> </showName>
  211.         <highlight> <false /> </highlight>
  212.         <autoHighlight> <true /> </autoHighlight>
  213.         <sharedHighlight> <true /> </sharedHighlight>
  214.         <family>0</family>
  215.         <titleWidth>0</titleWidth>
  216.         <icon>0</icon>
  217.         <textAlign>center</textAlign>
  218.         <font>Chicago</font>
  219.         <textSize>12</textSize>
  220.         <textStyle>plain</textStyle>
  221.         <name>UserId</name>
  222.         <script></script>
  223.     </part>
  224.     <part>
  225.         <id>10</id>
  226.         <type>button</type>
  227.         <visible> <true /> </visible>
  228.         <reserved5> 0 </reserved5>
  229.         <reserved4> 0 </reserved4>
  230.         <reserved3> 0 </reserved3>
  231.         <reserved2> 0 </reserved2>
  232.         <reserved1> 0 </reserved1>
  233.         <enabled> <true /> </enabled>
  234.         <rect>
  235.             <left>219</left>
  236.             <top>315</top>
  237.             <right>308</right>
  238.             <bottom>340</bottom>
  239.         </rect>
  240.         <style>standard</style>
  241.         <showName> <true /> </showName>
  242.         <highlight> <false /> </highlight>
  243.         <autoHighlight> <true /> </autoHighlight>
  244.         <sharedHighlight> <true /> </sharedHighlight>
  245.         <family>0</family>
  246.         <titleWidth>0</titleWidth>
  247.         <icon>0</icon>
  248.         <textAlign>center</textAlign>
  249.         <font>Chicago</font>
  250.         <textSize>12</textSize>
  251.         <textStyle>plain</textStyle>
  252.         <name>getURL</name>
  253.         <script>on mouseUp
  254.  
  255. set cursor to watch
  256.  
  257. ---------------------------------------------
  258. -- URLName must be in a form of
  259. -- http://aaa.bbb.com or
  260. -- http://aaa.bbb.com/filename
  261. ---------------------------------------------
  262. put fld "HTTP" into URLName
  263.  
  264. ---------------------------------------------
  265. -- fileName must be in a form of
  266. -- HardDrive:folder:...folder:file
  267. -- http://aaa.bbb.com/filename
  268. ---------------------------------------------
  269. put fld "DownloadFolder" into dest
  270. put dest & "tmpHTML.html" into fileName
  271.  
  272. ---------------------------------------------
  273. -- Basic security (authentication) is possible
  274. -- if site want USERID and PASSWORD, put them
  275. -- into the field in a form userID:password
  276. -- and check the button. Don't forget uncheck the
  277. -- button after you visited secured site! Your
  278. -- password will be send until you uncheck the
  279. -- button.
  280. ---------------------------------------------
  281.  
  282. if hilite of bkgnd button "UserID" is true then
  283. put fld "UserID"  into userId
  284. getURL URLName, fileName, userId
  285. else
  286. getURL URLName, fileName
  287. end if
  288.  
  289. ---------------------------------------------
  290. -- getURL depends on the Internet traffic,
  291. -- remote host, DNS server, etc. So, be prepare
  292. -- to wait. The worst case may cause 1-2 minutes
  293. -- hard wait state. If network is OK, getURL
  294. -- working in assync mode, and you may switch to
  295. -- another application while receiving.
  296. -- If you lucky, getURL would save received text
  297. -- in the file, if not you will get ERROR message.
  298. -- Mostly the reasons for ERRORs are:
  299. -- - remote host not responding;
  300. -- - name is unknown (your mistake or DNS server mistake);
  301. -- - trafic is very slow for some reason;
  302. -- - etc.
  303. ---------------------------------------------
  304. if the first word of the result is not "OK" then
  305. put the result into fld "TXT"
  306. play boing
  307. exit mouseUp
  308. end if
  309.  
  310. ---------------------------------------------
  311. -- Now we can do a lot of things with this file.
  312. -- Let's go!
  313. ---------------------------------------------
  314. open file fileName
  315. read from file fileName until end
  316. put it into tmpHTML
  317. close file fileName
  318.  
  319. ---------------------------------------------
  320. -- Why we need HTTP header? Delete it! But!
  321. -- In many cases, it contain a usefull information,
  322. -- for example: File not found, Access denied, etc.
  323. ---------------------------------------------
  324. put tmpHTML into tmp
  325. repeat for number of lines of tmpHTML
  326. if first line of tmpHTML is linefeed OR ¬¨¬¨
  327. first line of tmpHTML is return then exit repeat
  328. end repeat
  329.  
  330. if tmpHTML is empty then
  331. put tmp into tmpHTML
  332. end if
  333. ---------------------------------------------
  334. -- Let's parse text and get all references to another
  335. -- pages with HTMLtoURL external.
  336. ---------------------------------------------
  337. put HTMLtoURL (tmpHTML) into URLs
  338.  
  339. ---------------------------------------------
  340. -- URLs may contain duplicats, internal references, and be
  341. -- unsorted. Let's clean this garbage.
  342. ---------------------------------------------
  343. put adjustURL (URLs, fld "HTTP") into fld "URLs"
  344.  
  345. ---------------------------------------------
  346. -- Now time to convert HTML to plain text.
  347. -- You can keep all texts in
  348. -- your knowledge base, generate new cards, etc.
  349. -- Next version of HTMLtoTXT will be more advanced.
  350. ---------------------------------------------
  351. put HTMLtoTXT (tmpHTML) into tmpTXT
  352.  
  353. ---------------------------------------------
  354. -- Result is ugly a little bit. Many returns,
  355. -- TABs, double spaces, etc.
  356. -- cleanUpTxt will do thi job.
  357. ---------------------------------------------
  358. put cleanUpTxt (tmpTXT) into tmpTXT
  359.  
  360. ---------------------------------------------
  361. -- Hopefully, HyperCard 3.0 will fix the field limitation
  362. -- As for now, 30000 is a limit for field.
  363. -- Some of pages bigger then HC limitation
  364. -- Even if page bigger then field, the part may be
  365. -- usefull.
  366. ---------------------------------------------
  367. if length of tmpTXT < 30000 then
  368. put tmpTXT into fld "TXT"
  369. else
  370. put char 1 to 29000 of tmpTXT into fld "TXT"
  371. end if
  372.  
  373. ---------------------------------------------
  374. -- Horay! The end.
  375. ---------------------------------------------
  376. beep 1
  377. set cursor to normal
  378. end mouseUp
  379. </script>
  380.     </part>
  381.     <part>
  382.         <id>12</id>
  383.         <type>field</type>
  384.         <visible> <true /> </visible>
  385.         <dontWrap> <true /> </dontWrap>
  386.         <dontSearch> <false /> </dontSearch>
  387.         <sharedText> <true /> </sharedText>
  388.         <fixedLineHeight> <false /> </fixedLineHeight>
  389.         <autoTab> <false /> </autoTab>
  390.         <lockText> <false /> </lockText>
  391.         <rect>
  392.             <left>408</left>
  393.             <top>266</top>
  394.             <right>509</right>
  395.             <bottom>300</bottom>
  396.         </rect>
  397.         <style>rectangle</style>
  398.         <autoSelect> <false /> </autoSelect>
  399.         <showLines> <false /> </showLines>
  400.         <wideMargins> <false /> </wideMargins>
  401.         <multipleLines> <false /> </multipleLines>
  402.         <reservedFamily> 0 </reservedFamily>
  403.         <titleWidth>0</titleWidth>
  404.         <icon>0</icon>
  405.         <textAlign>center</textAlign>
  406.         <font>Chicago</font>
  407.         <textSize>12</textSize>
  408.         <textStyle>plain</textStyle>
  409.         <textHeight>16</textHeight>
  410.         <name>URLs</name>
  411.         <script>on mouseDoubleClick
  412. set cursor to watch
  413. select the clickLine
  414. put the value of the clickLine into cd fld "HTTP"
  415. send mouseUp to cd button "GetURL"
  416. end mouseDoubleClick</script>
  417.     </part>
  418.     <part>
  419.         <id>13</id>
  420.         <type>field</type>
  421.         <visible> <true /> </visible>
  422.         <dontWrap> <true /> </dontWrap>
  423.         <dontSearch> <false /> </dontSearch>
  424.         <sharedText> <true /> </sharedText>
  425.         <fixedLineHeight> <false /> </fixedLineHeight>
  426.         <autoTab> <false /> </autoTab>
  427.         <lockText> <false /> </lockText>
  428.         <rect>
  429.             <left>384</left>
  430.             <top>273</top>
  431.             <right>409</right>
  432.             <bottom>292</bottom>
  433.         </rect>
  434.         <style>rectangle</style>
  435.         <autoSelect> <false /> </autoSelect>
  436.         <showLines> <false /> </showLines>
  437.         <wideMargins> <false /> </wideMargins>
  438.         <multipleLines> <false /> </multipleLines>
  439.         <reservedFamily> 0 </reservedFamily>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>0</icon>
  442.         <textAlign>left</textAlign>
  443.         <font>Charcoal</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>bold</textStyle>
  446.         <textHeight>16</textHeight>
  447.         <name>URLs</name>
  448.         <script>on mouseDoubleClick
  449. set cursor to watch
  450. select the clickLine
  451. put the value of the clickLine into cd fld "HTTP"
  452. send mouseUp to cd button "GetURL"
  453. end mouseDoubleClick</script>
  454.     </part>
  455.     <part>
  456.         <id>16</id>
  457.         <type>button</type>
  458.         <visible> <true /> </visible>
  459.         <reserved5> 0 </reserved5>
  460.         <reserved4> 0 </reserved4>
  461.         <reserved3> 0 </reserved3>
  462.         <reserved2> 0 </reserved2>
  463.         <reserved1> 0 </reserved1>
  464.         <enabled> <true /> </enabled>
  465.         <rect>
  466.             <left>2</left>
  467.             <top>315</top>
  468.             <right>32</right>
  469.             <bottom>340</bottom>
  470.         </rect>
  471.         <style>standard</style>
  472.         <showName> <false /> </showName>
  473.         <highlight> <false /> </highlight>
  474.         <autoHighlight> <true /> </autoHighlight>
  475.         <sharedHighlight> <true /> </sharedHighlight>
  476.         <family>0</family>
  477.         <titleWidth>0</titleWidth>
  478.         <icon>1014</icon>
  479.         <textAlign>center</textAlign>
  480.         <font>Chicago</font>
  481.         <textSize>12</textSize>
  482.         <textStyle>plain</textStyle>
  483.         <name>New Button</name>
  484.         <script>on mouseUp
  485. go previous cd
  486. end mouseUp</script>
  487.     </part>
  488.     <part>
  489.         <id>18</id>
  490.         <type>button</type>
  491.         <visible> <true /> </visible>
  492.         <reserved5> 0 </reserved5>
  493.         <reserved4> 0 </reserved4>
  494.         <reserved3> 0 </reserved3>
  495.         <reserved2> 0 </reserved2>
  496.         <reserved1> 0 </reserved1>
  497.         <enabled> <true /> </enabled>
  498.         <rect>
  499.             <left>34</left>
  500.             <top>315</top>
  501.             <right>64</right>
  502.             <bottom>340</bottom>
  503.         </rect>
  504.         <style>standard</style>
  505.         <showName> <false /> </showName>
  506.         <highlight> <false /> </highlight>
  507.         <autoHighlight> <true /> </autoHighlight>
  508.         <sharedHighlight> <true /> </sharedHighlight>
  509.         <family>0</family>
  510.         <titleWidth>0</titleWidth>
  511.         <icon>30557</icon>
  512.         <textAlign>center</textAlign>
  513.         <font>Chicago</font>
  514.         <textSize>12</textSize>
  515.         <textStyle>plain</textStyle>
  516.         <name>New Button</name>
  517.         <script>on mouseUp
  518. go second cd of this stack
  519. end mouseUp</script>
  520.     </part>
  521.     <part>
  522.         <id>19</id>
  523.         <type>button</type>
  524.         <visible> <true /> </visible>
  525.         <reserved5> 0 </reserved5>
  526.         <reserved4> 0 </reserved4>
  527.         <reserved3> 0 </reserved3>
  528.         <reserved2> 0 </reserved2>
  529.         <reserved1> 0 </reserved1>
  530.         <enabled> <true /> </enabled>
  531.         <rect>
  532.             <left>480</left>
  533.             <top>315</top>
  534.             <right>510</right>
  535.             <bottom>340</bottom>
  536.         </rect>
  537.         <style>standard</style>
  538.         <showName> <false /> </showName>
  539.         <highlight> <false /> </highlight>
  540.         <autoHighlight> <true /> </autoHighlight>
  541.         <sharedHighlight> <true /> </sharedHighlight>
  542.         <family>0</family>
  543.         <titleWidth>0</titleWidth>
  544.         <icon>1013</icon>
  545.         <textAlign>center</textAlign>
  546.         <font>Chicago</font>
  547.         <textSize>12</textSize>
  548.         <textStyle>plain</textStyle>
  549.         <name>New Button</name>
  550.         <script>on mouseUp
  551. go next cd
  552. end mouseUp</script>
  553.     </part>
  554.     <part>
  555.         <id>20</id>
  556.         <type>button</type>
  557.         <visible> <true /> </visible>
  558.         <reserved5> 0 </reserved5>
  559.         <reserved4> 0 </reserved4>
  560.         <reserved3> 0 </reserved3>
  561.         <reserved2> 0 </reserved2>
  562.         <reserved1> 0 </reserved1>
  563.         <enabled> <true /> </enabled>
  564.         <rect>
  565.             <left>448</left>
  566.             <top>315</top>
  567.             <right>478</right>
  568.             <bottom>340</bottom>
  569.         </rect>
  570.         <style>standard</style>
  571.         <showName> <false /> </showName>
  572.         <highlight> <false /> </highlight>
  573.         <autoHighlight> <true /> </autoHighlight>
  574.         <sharedHighlight> <true /> </sharedHighlight>
  575.         <family>0</family>
  576.         <titleWidth>0</titleWidth>
  577.         <icon>1012</icon>
  578.         <textAlign>center</textAlign>
  579.         <font>Chicago</font>
  580.         <textSize>12</textSize>
  581.         <textStyle>plain</textStyle>
  582.         <name>New Button</name>
  583.         <script>on mouseUp
  584. go back
  585. end mouseUp</script>
  586.     </part>
  587.     <part>
  588.         <id>21</id>
  589.         <type>button</type>
  590.         <visible> <true /> </visible>
  591.         <reserved5> 0 </reserved5>
  592.         <reserved4> 0 </reserved4>
  593.         <reserved3> 0 </reserved3>
  594.         <reserved2> 0 </reserved2>
  595.         <reserved1> 0 </reserved1>
  596.         <enabled> <true /> </enabled>
  597.         <rect>
  598.             <left>101</left>
  599.             <top>315</top>
  600.             <right>187</right>
  601.             <bottom>340</bottom>
  602.         </rect>
  603.         <style>standard</style>
  604.         <showName> <true /> </showName>
  605.         <highlight> <false /> </highlight>
  606.         <autoHighlight> <true /> </autoHighlight>
  607.         <sharedHighlight> <true /> </sharedHighlight>
  608.         <family>0</family>
  609.         <titleWidth>0</titleWidth>
  610.         <icon>0</icon>
  611.         <textAlign>center</textAlign>
  612.         <font>Chicago</font>
  613.         <textSize>12</textSize>
  614.         <textStyle>plain</textStyle>
  615.         <name>Fill from IC</name>
  616.         <script>on mouseUp
  617. put GetICPref ("DownloadFolder") into bkgnd fld "DownloadFolder"
  618. end mouseUp
  619. </script>
  620.     </part>
  621.     <part>
  622.         <id>22</id>
  623.         <type>field</type>
  624.         <visible> <true /> </visible>
  625.         <dontWrap> <false /> </dontWrap>
  626.         <dontSearch> <false /> </dontSearch>
  627.         <sharedText> <true /> </sharedText>
  628.         <fixedLineHeight> <false /> </fixedLineHeight>
  629.         <autoTab> <false /> </autoTab>
  630.         <lockText> <false /> </lockText>
  631.         <rect>
  632.             <left>1</left>
  633.             <top>3</top>
  634.             <right>103</right>
  635.             <bottom>19</bottom>
  636.         </rect>
  637.         <style>shadow</style>
  638.         <autoSelect> <false /> </autoSelect>
  639.         <showLines> <false /> </showLines>
  640.         <wideMargins> <false /> </wideMargins>
  641.         <multipleLines> <false /> </multipleLines>
  642.         <reservedFamily> 0 </reservedFamily>
  643.         <titleWidth>0</titleWidth>
  644.         <icon>0</icon>
  645.         <textAlign>left</textAlign>
  646.         <font>Geneva</font>
  647.         <textSize>9</textSize>
  648.         <textStyle>bold</textStyle>
  649.         <textHeight>12</textHeight>
  650.         <name></name>
  651.         <script></script>
  652.     </part>
  653.     <content>
  654.         <layer>background</layer>
  655.         <id>12</id>
  656.         <text>DoubleClick to 
  657. open URL</text>
  658.     </content>
  659.     <content>
  660.         <layer>background</layer>
  661.         <id>13</id>
  662.         <text><span class="style29">-</span></text>
  663.     </content>
  664.     <content>
  665.         <layer>background</layer>
  666.         <id>2</id>
  667.         <text>SYSTEM:tmp:</text>
  668.     </content>
  669.     <content>
  670.         <layer>background</layer>
  671.         <id>22</id>
  672.         <text>Download folder:</text>
  673.     </content>
  674.     <name></name>
  675.     <script>on openCard
  676. if the name of this cd is not fld "HTTP" of this cd
  677. then set name of this cd to fld "HTTP" of this cd
  678. pass openCard
  679. end openCard
  680.  
  681. on closeCard
  682. if the name of this cd is not fld "HTTP" of this cd
  683. then set name of this cd to fld "HTTP" of this cd
  684. pass closeCard
  685. end closeCard
  686. </script>
  687. </background>
  688.